package edu.bbu.bs.backend.service;

import java.util.List;

import javax.ejb.Remote;

import edu.bbu.bs.backend.model.Author;
import edu.bbu.bs.backend.service.exceptions.BsServiceException;

@Remote
public interface AuthorService {

	Author getAuthor (Long id) throws BsServiceException;
	Author insertAuthor (Author author) throws BsServiceException;
	Author updateAuthor (Author author) throws BsServiceException;
	void deleteAuthor (Author author) throws BsServiceException;
	void deleteById (Long id) throws BsServiceException;
	List<Author> getAllAuthor() throws BsServiceException;
}
